﻿<%@ Page Language="C#" MasterPageFile="~/Customer/MMcustomer.Master" AutoEventWireup="true"
    CodeBehind="CcostQuery.aspx.cs" Inherits="MobileManager.Customer.CcostQuery"
    Title="扣费信息查询" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script language="javascript" type="text/javascript" src="../Js/UCcalendar/WdatePicker.js"></script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
    <div style="width: 95%; text-align: center; font-size: 12px; margin-top: 15px;">
        <table>
            <tr>
                <td style="text-align: right;">
                    客户编号：
                </td>
                <td style="text-align: left;">
                    <asp:DropDownList ID="ddlCustomer" runat="server" CssClass="dropnormal">
                    </asp:DropDownList>
                </td>
                <td style="text-align: right;">
                    日期From：
                </td>
                <td style="text-align: left;">
                    <input class="Wdate" id="inputDateFrom" name="inputDateStart" runat="server" type="text"
                        onclick="WdatePicker()" />
                </td>
                <td style="text-align: right;">
                    日期To：
                </td>
                <td style="text-align: left">
                    <input class="Wdate" id="inputDateTo" name="inputDateStart" runat="server" type="text"
                        onclick="WdatePicker()" />
                </td>
                <td>
                    &nbsp;&nbsp;
                    <asp:Button ID="btnQuery" runat="server" Text="查 询" CssClass="button_green" Width="70px"
                        OnClick="btnQuery_Click" />
                </td>
            </tr>
        </table>
        <br />
        <asp:GridView ID="GVinfo" runat="server" AutoGenerateColumns="False" CssClass="reason_box"
            Font-Size="12px" CellPadding="0" BorderWidth="0px" BorderColor="#A6E1FF" Width="100%"
            PageSize="20" OnRowDataBound="GVinfo_RowDataBound" ShowFooter="True">
            <Columns>
                <asp:TemplateField HeaderText="日期">
                    <ItemTemplate>
                        <asp:Label ID="lCostDayTime" runat="server" Text='<%# Bind("CostDayTime") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="客户编号">
                    <ItemTemplate>
                        <asp:Label ID="lbCNO" runat="server" Text='<%# Bind("CNO") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="发送条数">
                    <ItemTemplate>
                        <asp:Label ID="lbAllSendNum" runat="server" Text='<%# Bind("AllSendNum") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="消费金额(元)">
                    <ItemTemplate>
                        <asp:Label ID="lbAllCostMoney" runat="server" Text='<%# Bind("AllCostMoney") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
            </Columns>
            <EmptyDataTemplate>
                <span style="color: Red; font-weight: bold;">没有数据！</span>
            </EmptyDataTemplate>
        </asp:GridView>
    </div>
</asp:Content>
